package com.tyl.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("productCloud")
public interface UserFeignService {
    @GetMapping("/product/product/selectAll")
    public String ProductSelectAll();
    @GetMapping("/product/product/selectOne/{id}")
    public String selectById(@PathVariable("id") Integer id);
}
